<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Pango-1.44.7
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;25.&nbsp;X Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libxklavier.html" title=
          "libxklavier-5.4">Prev</a>
          <p>
            libxklavier-5.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="pangomm.html" title=
          "Pangomm-2.42.1">Next</a>
          <p>
            Pangomm-2.42.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="lib.html" title=
          "Chapter&nbsp;25.&nbsp;X Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="pango" name="pango"></a>Pango-1.44.7
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Pango
        </h2>
        <p>
          <span class="application">Pango</span> is a library for laying out
          and rendering text, with an emphasis on internationalization. It
          can be used anywhere that text layout is needed, though most of the
          work on <span class="application">Pango</span> so far has been done
          in the context of the <span class="application">GTK+</span> widget
          toolkit.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/pango/1.44/pango-1.44.7.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/pango/1.44/pango-1.44.7.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/pango/1.44/pango-1.44.7.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/pango/1.44/pango-1.44.7.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: c75cc5b833d934d98e83343832e20e5d
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 512 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 24 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Pango Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/fontconfig.html" title=
          "Fontconfig-2.13.1">Fontconfig-2.13.1</a> (must be built with
          <a class="xref" href="../general/freetype2.html" title=
          "FreeType-2.10.1">FreeType-2.10.1</a> using <a class="xref" href=
          "../general/harfbuzz.html" title=
          "HarfBuzz-2.6.4">HarfBuzz-2.6.4</a>), <a class="xref" href=
          "../general/fribidi.html" title="FriBidi-1.0.9">FriBidi-1.0.9</a>,
          and <a class="xref" href="../general/glib2.html" title=
          "GLib-2.64.1">GLib-2.64.1</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="cairo.html" title=
          "Cairo-1.17.2+f93fc72c03e">Cairo-1.17.2+f93fc72c03e</a>, <a class=
          "xref" href="../general/gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a>
          (Required if building GNOME), and <a class="xref" href="x7lib.html"
          title="Xorg Libraries">Xorg Libraries</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="TTF-and-OTF-fonts.html#cantarell-fonts"
          title="Cantarell fonts">Cantarell fonts</a> (for tests), <a class=
          "xref" href="../general/gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>, <a class="ulink" href=
          "https://ftp.gnu.org/gnu/help2man">help2man</a>, and <a class=
          "ulink" href="https://linux.thai.net/projects/libthai">libthai</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/pango">http://wiki.linuxfromscratch.org/blfs/wiki/pango</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Pango
        </h2>
        <p>
          Install <span class="application">Pango</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir build &amp;&amp;
cd    build &amp;&amp;

meson --prefix=/usr --sysconfdir=/etc .. &amp;&amp;
ninja</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>ninja
          test</strong></span>. Three tests, <code class=
          "filename">test-layout</code>, <code class=
          "filename">test-break</code>, and <code class=
          "filename">test-itemize</code> are known to fail if <a class="xref"
          href="TTF-and-OTF-fonts.html#cantarell-fonts" title=
          "Cantarell fonts">Cantarell fonts</a> is not installed.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">ninja install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <code class="option">-Denable-docs</code>: Use this switch if
          gtk-doc is installed and you wish to rebuild and install the API
          documentation.
        </p>
        <p>
          <code class="option">-Dgir=false</code>: Use this switch if you do
          not want to use <a class="xref" href=
          "../general/gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a>.
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          Configuring Pango
        </h2>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="pango-config" name="pango-config"></a>
          </h3>
          <h4 class="title">
            <a id="pango-config" name="pango-config"></a>Config Files
          </h4>
          <p>
            <code class="filename">/etc/pango/pangorc</code>, <code class=
            "filename">~/.pangorc</code> and the file specified in the
            environment variable <code class="envar">PANGO_RC_FILE</code>
          </p>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">pango-list and pango-view</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libpango-1.0.so, libpangocairo-1.0.so,
              libpangoft2-1.0.so, and libpangoxft-1.0.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/pango-1.0 and
              /usr/share/gtk-doc/html/pango</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="pango-list" name="pango-list"></a><span class=
                    "term"><span class=
                    "command"><strong>pango-list</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    displays a list of fonts that <span class=
                    "application">Pango</span> can use that are currently
                    installed on the system.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="pango-view" name="pango-view"></a><span class=
                    "term"><span class=
                    "command"><strong>pango-view</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    renders a given text file through <span class=
                    "application">Pango</span> for viewing purposes.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libpango-1" name="libpango-1"></a><span class=
                    "term"><code class=
                    "filename">libpango-1.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains low level layout rendering routines, a high
                    level driver for laying out entire blocks of text, and
                    routines to assist in editing internationalized text.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-19 22:50:25 -0600
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libxklavier.html" title=
          "libxklavier-5.4">Prev</a>
          <p>
            libxklavier-5.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="pangomm.html" title=
          "Pangomm-2.42.1">Next</a>
          <p>
            Pangomm-2.42.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="lib.html" title=
          "Chapter&nbsp;25.&nbsp;X Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
